//
//  GQHttpRequest.h
//  TingMusic
//
//  Created by sunny on 16/4/23.
//  Copyright © 2016年 sunny. All rights reserved.
// 这是一个封装的网络请求的工具类

#import <Foundation/Foundation.h>
#import <AFHTTPSessionManager.h>

@interface GQHttpRequest : NSObject
@property (nonatomic, strong)AFHTTPSessionManager *manager;


+ (NSURLSessionDataTask *)GET:(NSString *)URLString parameters:(id)parameters progress:(void (^)(NSProgress *downloadProgress))downloadProgress success:(void (^)(NSURLSessionDataTask *task, id responseObject))success  failure:(void (^)(NSURLSessionDataTask *  task, NSError *error))failure;


@end
